package com.df.bpm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.df.bpm.entity.InformatizationOutput;
import org.apache.ibatis.annotations.Delete;

public interface InformatizationOutputMapper extends BaseMapper<InformatizationOutput> {

    @Delete("DELETE \n" +
            "FROM businessOverview.informatizationOutput \n" +
            "where informatizationRequirementIndex=${requirementId} " +
            "and informatizationOutputIndex not in (${outputsId}) \n")
    void delete4Save(Integer requirementId, String outputsId);
}